package net.lzzy.arraylist;

public class Computer {
    private Integer id;
    private String name;
    private String memory;

    public Computer(Integer id, String name, String memory) {
        this.id = id;
        this.name = name;
        this.memory = memory;
    }

    public Computer(){

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMemory() {
        return memory;
    }

    public void setMemory(String memory) {
        this.memory = memory;
    }

    @Override
    public String toString() {
        return "computer{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", memory='" + memory + '\'' +
                '}';
    }
}
